<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Freetype OpenGL: vector_t Struct Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="style.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="content"><!-- do not remove this div! -->

<div id="top"><!-- do not remove this div! -->

  
  <div id="titlearea">
    
    <div id="projectname">Freetype OpenGL</div>
    
    
    <div id="projectbrief">A high quality OpenGL text rendering engine for C</div>
    
  </div>
  

<!--

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Freetype OpenGL
   &#160;<span id="projectnumber">0.1</span>
   </div>
   <div id="projectbrief">A high quality OpenGL text rendering engine for C</div>
  </td>
  
  
  
   
  
 </tr>
 </tbody>
</table>
</div>
-->


<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript" src="dynsections.js"></script>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">vector_t Struct Reference<div class="ingroups"><a class="el" href="group__vector.html">Vector</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Generic vector structure. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="demo-console_8c-example.html#_a1">demo-console.c</a>, and <a class="el" href="demo-display-list_8c-example.html#_a0">demo-display-list.c</a>.</dd>
</dl></div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a083c597f2ae3b6302b26ba9e6330ee5f"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvector__t.html#a083c597f2ae3b6302b26ba9e6330ee5f">items</a></td></tr>
<tr class="memdesc:a083c597f2ae3b6302b26ba9e6330ee5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to dynamically allocated items.  <a href="#a083c597f2ae3b6302b26ba9e6330ee5f"></a><br/></td></tr>
<tr class="memitem:a81e18fd00e94087a8f04b657ffc34c04"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvector__t.html#a81e18fd00e94087a8f04b657ffc34c04">capacity</a></td></tr>
<tr class="memdesc:a81e18fd00e94087a8f04b657ffc34c04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of items that can be held in currently allocated storage.  <a href="#a81e18fd00e94087a8f04b657ffc34c04"></a><br/></td></tr>
<tr class="memitem:a7ec97862387465722f8f08f8f8f69371"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvector__t.html#a7ec97862387465722f8f08f8f8f69371">size</a></td></tr>
<tr class="memdesc:a7ec97862387465722f8f08f8f8f69371"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of items.  <a href="#a7ec97862387465722f8f08f8f8f69371"></a><br/></td></tr>
<tr class="memitem:a38dfa6c7c9cf7afb483b07cb168461c9"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvector__t.html#a38dfa6c7c9cf7afb483b07cb168461c9">item_size</a></td></tr>
<tr class="memdesc:a38dfa6c7c9cf7afb483b07cb168461c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size (in bytes) of a single item.  <a href="#a38dfa6c7c9cf7afb483b07cb168461c9"></a><br/></td></tr>
</table>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="a81e18fd00e94087a8f04b657ffc34c04"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="structvector__t.html#a81e18fd00e94087a8f04b657ffc34c04">vector_t::capacity</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Number of items that can be held in currently allocated storage. </p>

</div>
</div>
<a class="anchor" id="a38dfa6c7c9cf7afb483b07cb168461c9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="structvector__t.html#a38dfa6c7c9cf7afb483b07cb168461c9">vector_t::item_size</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Size (in bytes) of a single item. </p>

</div>
</div>
<a class="anchor" id="a083c597f2ae3b6302b26ba9e6330ee5f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="structvector__t.html#a083c597f2ae3b6302b26ba9e6330ee5f">vector_t::items</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Pointer to dynamically allocated items. </p>

</div>
</div>
<a class="anchor" id="a7ec97862387465722f8f08f8f8f69371"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="structvector__t.html#a7ec97862387465722f8f08f8f8f69371">vector_t::size</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Number of items. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="demo-atb-agg_8c-example.html#a21">demo-atb-agg.c</a>, <a class="el" href="demo-benchmark_8c-example.html#a23">demo-benchmark.c</a>, <a class="el" href="demo-cartoon_8c-example.html#a20">demo-cartoon.c</a>, and <a class="el" href="demo-outline_8c-example.html#a26">demo-outline.c</a>.</dd>
</dl>
</div>
</div>
</div><!-- contents -->
</div>
</body>
</html>
